type crypto/tls.keyShare
13 uses
crypto/tls (current package)
common.go#L164: type keyShare struct {
handshake_client.go#L177: hello.keyShares = []keyShare{
handshake_client.go#L184: hello.keyShares = append(hello.keyShares, keyShare{group: X25519, data: x25519EphemeralKey})
handshake_client.go#L194: hello.keyShares = []keyShare{{group: curveID, data: keyShareKeys.ecdhe.PublicKey().Bytes()}}
handshake_client_tls13.go#L315: if slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_client_tls13.go#L336: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L436: if !slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_messages.go#L93: keyShares []keyShare
handshake_messages.go#L614: var ks keyShare
handshake_messages.go#L734: serverShare keyShare
handshake_server_tls13.go#L231: var clientKeyShare *keyShare
handshake_server_tls13.go#L266: hs.hello.serverShare = keyShare{group: selectedGroup, data: key.PublicKey().Bytes()}
handshake_server_tls13.go#L545: func (hs *serverHandshakeStateTLS13) doHelloRetryRequest(selectedGroup CurveID) (*keyShare, error) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)